package com.stone.framework.basic.param.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.stone.framework.message.basic.param.BusinessParamPageReqBody;
import com.stone.framework.message.basic.param.BusinessParamPageResBody;
import com.stone.framework.message.basic.param.BusinessParamReqBody;

public interface BusinessParamService {

    Page<BusinessParamPageResBody> queryPage(BusinessParamPageReqBody reqBody, Pageable pageable);

    String queryValue(String key);

    void save(BusinessParamReqBody reqBody);

    void modify(BusinessParamReqBody reqBody);

    void delete(BusinessParamReqBody reqBody);

    void refreshCache();

    void refreshCache(String key);

}
